﻿$(function () {
    $("#btnLogin").click(function () {
        $.ajax({
            url: window.loginUrl,
            data: JSON.stringify($("#frmLogin").serialize()),
            type: "POST",
            contentType: "application/json",
            success: function () {
                transition("login", "userData");
            }
        });
        return false;
    });
    $("#btnSkip").click(function () {
        $.ajax({
            url: window.valuationUrl,
            type: "POST",
            success: function (response) {
                $("#divValuation").html(response);
                init();
            }
        });
        return false;
    });
});